package com.qianyu.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.ProjectInfo;
import com.qianyu.project.entity.ProviderInfo;
import com.qianyu.project.mapper.ProviderInfoMapper;
import com.qianyu.project.service.IProviderInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qianyu.project.utils.PageUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.ProviderManager;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 供应商信息表 服务实现类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Service
public class ProviderInfoServiceImpl extends ServiceImpl<ProviderInfoMapper, ProviderInfo> implements IProviderInfoService {

    @Autowired
    private ProviderInfoMapper ProviderInfoMapper;

    @Override
    public IPage<ProviderInfo> WyhCreatedList(Map<String, String> params) {
        IPage<ProviderInfo> page= PageUtil.createPage(params);
        return ProviderInfoMapper.WyhCreatedList(page,params);
    }
}
